package com.asap.demo.model;

import java.io.Serializable;
import java.util.List;

public class RuleBean implements Serializable {

	private static final long serialVersionUID = 7051752214555468185L;

	private Alarm alarm;
	private String ruleId;
	private int configTemplate;
	private String configtype;
	private List<InputEventRule> inputEventRules;
	private Relation relation;
	private Stat stat;
	private List<OutputRule> outputRules;
	private List<RuleHandle>handle;
	private List<Tag> tag;
	private String ruleName;
	public Alarm getAlarm() {
		return alarm;
	}

	public void setAlarm(Alarm alarm) {
		this.alarm = alarm;
	}

	public String getRuleId() {
		return ruleId;
	}

	public void setRuleId(String ruleId) {
		this.ruleId = ruleId;
	}

	public int getConfigTemplate() {
		return configTemplate;
	}

	public void setConfigTemplate(int configTemplate) {
		this.configTemplate = configTemplate;
	}

	public String getConfigtype() {
		return configtype;
	}

	public void setConfigtype(String configtype) {
		this.configtype = configtype;
	}

	public List<InputEventRule> getInputEventRules() {
		return inputEventRules;
	}

	public void setInputEventRules(List<InputEventRule> inputEventRules) {
		this.inputEventRules = inputEventRules;
	}

	public Relation getRelation() {
		return relation;
	}

	public void setRelation(Relation relation) {
		this.relation = relation;
	}

	public Stat getStat() {
		return stat;
	}

	public void setStat(Stat stat) {
		this.stat = stat;
	}

	public List<OutputRule> getOutputRules() {
		return outputRules;
	}

	public void setOutputRules(List<OutputRule> outputRules) {
		this.outputRules = outputRules;
	}

	public List<Tag> getTag() { return tag;	}

	public void setTag(List<Tag> tagList) { this.tag = tagList;	}

	public List<RuleHandle> getHandle() {
		return handle;
	}

	public void setHandle(List<RuleHandle> handle) {
		this.handle = handle;
	}


	public String getRuleName() {
		return ruleName;
	}

	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}

	@Override
	public String toString() {
		return "RuleBean{" +
				"alarm=" + alarm +
				", ruleId='" + ruleId + '\'' +
				", configTemplate=" + configTemplate +
				", configtype='" + configtype + '\'' +
				", inputEventRules=" + inputEventRules +
				", relation=" + relation +
				", stat=" + stat +
				", outputRules=" + outputRules +
				", handle=" + handle +
				", tag=" + tag +
				", ruleName='" + ruleName + '\'' +
				'}';
	}
}
